-module(debug).
-export([receiver/0]).

receiver() ->
	spawn(fun() -> rec_loop() end).

rec_loop() ->
	receive 
		ANY -> io:format("~nReceived:~p~n", [ANY])
	end,
	rec_loop().